package com.kangaroo.myhome.service;

import java.util.Set;

import com.kangaroo.myhome.model.TSysUser;
import com.kangaroo.myhome.model.User;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;

/**
 * 用户管理
 * @author Louis
 * @date Jun 29, 2019
 */
@Mapper
public interface UserService {

	/**
	 * 根据用户名查找用户
	 * @param username
	 * @return
	 */
	TSysUser findByUsername(String username);

	/**
	 * 查找用户的菜单权限标识集合
	 * @param username
	 * @return
	 */
	Set<String> findPermissions(String username);

}
